package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;


public interface StoreService {


    void save(StoreParam param);

    PageResult<StoreVO> pageList(StoreQuery query) throws BusinessException;

    StoreVO getDetail(Integer id);

    int delete(Integer id);

    int updateStatus(Integer id);

    PageResult<StoreVO> getStoreByCity(AreaStoreQuery query);
}
